package cn.moefly.sample.component.annotation;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;


/**
 * 使用指定的类来代替feign api
 * 仅在 {@link ReplaceInDevelopApiPostProcessor#PROPERTY_KEY}被配置为true后才生效
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(ReplaceInDevelopApiPostProcessor.class)
public @interface ReplaceInDevelop {
    Class<?> value();
}
